package com.smartreader.controller;

import com.smartreader.common.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/api/v1/")
@RestController
public class HelloWorldController {
    @GetMapping("hello")
    public R helloWorld(){
        return R.success(200,"操作成功","Hello World!");
    }
}
